package com.parkclouds.busi.dao.impl;

import com.parkclouds.api.commom.service.sys.param.QuerySysOpReq;
import com.parkclouds.busi.dao.SysOpDao;
import com.parkclouds.busi.domain.SysOp;

import com.parkclouds.busi.mapper.SysOpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * Copyright: Copyright (c) 2017  zteits
 *
 * @ClassName: SysOpDaoImpl.java
 * @Description:
 * @version: v1.0.0
 * @author: wangfs
 * @date: 2019-04-22 19:19
 * Modification History:
 * Date             Author          Version            Description
 * ---------------------------------------------------------*
 * 2019-04-22     wangfs              v1.0.0               创建
 */

@Component
public class SysOpDaoImpl implements SysOpDao {


    @Autowired
    private SysOpMapper sysOpMapper;
    @Override
    public SysOp querySysOp(QuerySysOpReq req) {
        return sysOpMapper.selectByPrimaryKey(req.getId());
    }
}
